package cn.edu.hhu.Bean;

/**
 * @anthor: lddd
 * @date: 2020/5/8 - 8:41
 * @description:
 **/
public class Student {
    private String sid;//学号
    private String pwd;//密码
    private String sname;//姓名
    private String tel;//电话
    private String email;//邮箱
    private boolean activation;//激活状态

    public Student(String sid, String sname) {
        this.sid = sid;
        this.sname = sname;
    }

    public boolean isActivation() {
        return activation;
    }

    public void setActivation(boolean activation) {
        this.activation = activation;
    }

    public Student() {
    }

    public Student(String sid, String pwd, String sname, String tel, String email, boolean activaton) {
        this.sid = sid;
        this.pwd = pwd;
        this.sname = sname;
        this.tel = tel;
        this.email = email;
        this.activation = activaton;
    }

    public void setSid(String sid) {
        this.sid = sid;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public void setSname(String sname) {
        this.sname = sname;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getSid() {
        return sid;
    }

    @Override
    public String toString() {
        return "Student{" +
                "sid='" + sid + '\'' +
                ", pwd='" + pwd + '\'' +
                ", sname='" + sname + '\'' +
                ", tel='" + tel + '\'' +
                ", email='" + email + '\'' +
                ", activaton=" + activation +
                '}';
    }

    public String getPwd() {
        return pwd;
    }

    public String getSname() {
        return sname;
    }

    public String getTel() {
        return tel;
    }

    public String getEmail() {
        return email;
    }

}
